Skip to content

build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.103.3 to 1.104.0#478

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/aws/aws-sdk-go-v2/service/s3-1.103.3
Jun 18, 2026
Merged

build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.103.3 to 1.104.0#478
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/aws/aws-sdk-go-v2/service/s3-1.103.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown

Bumps github.com/aws/aws-sdk-go-v2/service/s3 from 1.103.3 to 1.104.0.

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 9, 2026
@dependabot dependabot Bot requested a review from dongjiang1989 as a code owner June 9, 2026 09:26
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 9, 2026
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review Change Stack

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 0a68250f-af11-4c4f-b586-20b676dc9dff

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

This PR upgrades AWS SDK for Go v2 from v1.41.12 to v1.42.0 and implements a new, environment-gated "2026" retry mode. The mode adds throttle-aware backoff computation, improves long-polling operation handling, adjusts retry token costs based on error classification, and introduces context-based long-polling tracking across all affected modules.

Changes

2026 Retry Mode Implementation

Layer / File(s) Summary
Long-polling context infrastructure
vendor/github.com/aws/aws-sdk-go-v2/internal/context/context.go, vendor/github.com/aws/aws-sdk-go-v2/aws/retry/retry.go
SetIsLongPolling and GetIsLongPolling helpers track long-polling state in request context; AddWithLongPolling wraps an existing retryer to expose IsLongPolling() bool.
Backoff computation for 2026 mode
vendor/github.com/aws/aws-sdk-go-v2/aws/retry/jitter_backoff.go
ExponentialJitterBackoff gains baseDelay, throttle, and retries2026 fields; new backoffDelay2026 method forces 1s base delay on throttle errors, applies exponential growth with MAX_BACKOFF cap before jitter, while legacy mode is preserved.
Standard retry configuration and mode selection
vendor/github.com/aws/aws-sdk-go-v2/aws/retry/standard.go
AWS_NEW_RETRIES_2026 environment variable gates mode detection; StandardOptions adds throttling strategies, ThrottlingRetryCost, and BaseDelay fields; NewStandard selects throttle-aware backoff in new mode; GetRetryToken uses throttling-based costs in new mode versus timeout-based costs in legacy mode; helper functions newRetries2026() and standardDefaults() supply mode-specific defaults.
Middleware retry flow adjustments
vendor/github.com/aws/aws-sdk-go-v2/aws/retry/middleware.go
Token release is conditional on mode and attempt number; long-polling failure handling computes delay, adjusts via X-Amz-Retry-After header, and sleeps with context awareness; retry delay computation uses different attempt indices (attemptNum-1 in new mode); new adjustForRetryAfterHeader helper parses and clamps delay.

Dependency Updates and Metadata

Layer / File(s) Summary
Go module dependency versions
go.mod, vendor/modules.txt
github.com/aws/aws-sdk-go-v2 bumped to v1.42.0; internal modules (configsources, endpoints/v2, v4a, checksum, presigned-url, s3shared) updated to corresponding patch versions.
Generated module metadata constants
vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go, vendor/github.com/aws/aws-sdk-go-v2/internal/*/go_module_metadata.go, vendor/github.com/aws/aws-sdk-go-v2/service/*/go_module_metadata.go
Module version constants updated across all affected packages (aws 1.42.0, configsources 1.4.29, endpoints/v2 2.7.29, v4a 1.4.30, checksum 1.9.22, presigned-url 1.13.29, s3shared 1.19.29, s3 1.103.3).
Changelog entries for dependency updates
vendor/github.com/aws/aws-sdk-go-v2/*/CHANGELOG.md
New version sections (dated 2026-06-08) added to changelogs across all affected modules documenting dependency updates to latest SDK versions.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Suggested labels

size/M

Suggested reviewers

  • dongjiang1989
  • github-actions

Poem

🐰 The retry hare hops with newfound grace,
Throttling delays in their proper place,
Long-polling now knows where it stands,
With 2026 mode in capable hands,
Dependencies fresh, the SDK expands!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title states the S3 module is bumped from v1.103.3 to v1.104.0, but the actual changes show it was bumped from v1.103.2 to v1.103.3. Update the PR title to accurately reflect the actual version bump: 'build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.103.2 to 1.103.3'
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed Docstring coverage is 85.71% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/go_modules/github.com/aws/aws-sdk-go-v2/service/s3-1.103.3

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@dongjiang1989

Copy link
Copy Markdown
Member

@dependabot recreate

@dependabot dependabot Bot changed the title build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.103.2 to 1.103.3 build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.103.3 to 1.104.0 Jun 18, 2026
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/aws/aws-sdk-go-v2/service/s3-1.103.3 branch from 7280d61 to d4ab104 Compare June 18, 2026 09:44
@dongjiang1989

Copy link
Copy Markdown
Member

@dependabot recreate

Bumps [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) from 1.103.3 to 1.104.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.103.3...service/s3/v1.104.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/s3
  dependency-version: 1.103.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/aws/aws-sdk-go-v2/service/s3-1.103.3 branch from d4ab104 to d27c859 Compare June 18, 2026 09:47
@github-actions github-actions Bot merged commit cc17c95 into main Jun 18, 2026
5 of 12 checks passed
@dependabot dependabot Bot deleted the dependabot/go_modules/github.com/aws/aws-sdk-go-v2/service/s3-1.103.3 branch June 18, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants